package com.atguigu.day03.homework;

public class HomeWork3 {
    public static void main(String[] args) {
        int year = 2024;
        boolean isLeapYear = year % 400 == 0;

        System.out.println(year + "年" + (isLeapYear ? "是闰年" : "不是闰年"));
    }
}
